<?php
namespace BP\Sys;

use BP\En\EntitiesNoName;

class ExcelFields extends EntitiesNoName {
	public function getNewEntity () 
	{
		return ExcelField::constructor__();
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public static function constructor__String ($fk_excelfile) // [String fk_excelfile]
	{
		$me = new self();
		$qo = new QueryObject($me);
		$qo->AddWhere(ExcelFieldAttr::$FK_ExcelFile, $fk_excelfile);
		$qo->addOrderBy(ExcelFieldAttr::$CellRow, ExcelFieldAttr::$CellColumn);
		$qo->DoQuery();
		return $me;
	}
}
?>
